-- GENERATED SPELL FOR [Gordunni Mauler] --


function spell0_5234(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_5234', 581, 1)
end

function Sorts_5234(pUnit, Event)
local choix_sorts_5234 = math.random(0, 0)
if choix_sorts_5234 == 0 then
pUnit:RegisterEvent('spell0_5234', 1, 1)
end
end

function mob5234_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5234', math.random(1500, 3000), 1)
end

function mob5234_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5234_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5234_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5234, 1, 'mob5234_Action')
RegisterUnitEvent(5234, 2, 'mob5234_Leave')
RegisterUnitEvent(5234, 3, 'mob5234_Kill')
RegisterUnitEvent(5234, 4, 'mob5234_Die')
